/**
 * @author rxliuli
 */
const sysUserRoleApi = new class SysUserRoleApi extends BaseApi {
    constructor() {
        super('/api/sysUserRole')
    }

    async getByUserId(userId) {
        return (await rxajax.get(this.using('/get/user-id/' + userId))).data.data
    }
}()